CarLocationRenderer

class CarLocationRenderer(mainCarContext: MainCarContext) : MapboxCarMapObserver

Create a simple 3d location puck. This class is demonstrating how to create a renderer. To Create a new location experience, try creating a new class.

Constructors

CarLocationRenderer
Link copied to clipboard
fun CarLocationRenderer(mainCarContext: MainCarContext)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onAttached
Link copied to clipboard
open override fun onAttached(mapboxCarMapSurface: MapboxCarMapSurface)
onDetached
Link copied to clipboard
open fun onDetached(mapboxCarMapSurface: MapboxCarMapSurface)
onVisibleAreaChanged
Link copied to clipboard
open fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)
toString
Link copied to clipboard
open fun toString(): String